package bitbot.md.bitstamp;

import java.math.BigDecimal;

import bitbot.md.TimeAndSales.TimeAndSalesRec;

public class BitstampTimeAndSale {
	private long date;
	private double price;
	private double amount;
	
	public long getDate() {
		return date;
	}
	public double getPrice() {
		return price;
	}
	public double getAmount() {
		return amount;
	}
	
	public TimeAndSalesRec convert() {
		return new TimeAndSalesRec(new BigDecimal(price), new BigDecimal(amount), date);
	}
}
